package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 景点轮播图对象 attraction_carousel
 * 
 * @author ruoyi
 * @date 2025-05-29
 */
public class AttractionCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键轮播图id */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String imgUrl;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 景点id */
    @Excel(name = "景点id")
    private Long aid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    public void setAid(Long aid) 
    {
        this.aid = aid;
    }

    public Long getAid() 
    {
        return aid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("state", getState())
            .append("aid", getAid())
            .toString();
    }
}
